<?php
/**
 * Database config variables
*/


        $services_json = json_decode(getenv("VCAP_SERVICES"),true);   //进行获得数据库信息的json文件解析
        $mysql_config = $services_json["mysql-5.1"][0]["credentials"];
        $mysql_user = $mysql_config["username"];
        $mysql_passwd = $mysql_config["password"];
        $mysql_host = $mysql_config["hostname"];
        $mysql_db = $mysql_config["name"];
/*
		$mysql_host = "127.0.0.1";
        $mysql_user = "android";
        $mysql_passwd = "android123qwe!@#";
        $mysql_db = "androidapp";
*/  
/*
 * Google API Key
 */
define("GOOGLE_API_KEY", "AIzaSyBUG_T5G5Lg2kEZGIUWVnXERpJRRILpq6Y"); // Place your Google API Key
?>
